<template>
  <div class="exportPatient">
    <div class="flexLeft">
      <div><el-checkbox v-model="checkArr.id">集团编号</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.date">创建时间</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.groupName">集团名称</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.status">合作状态</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.cliniCount">旗下门诊数量</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.proCode">所在省</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.doctorCount">旗下医生数量</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.cityCode">所在市</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.patientCount">旗下患者数量</el-checkbox></div>
      <div><el-checkbox v-model="checkArr.tags">集团规则</el-checkbox></div>
    </div>
  </div>
</template>

<script>
export default {
  components: {},
  data() {
    return {
      checkArr: {
        id: false,
        date: false,
        groupName: false,
        status: false,
        cliniCount: false,
        proCode: false,
        doctorCount: false,
        cityCode: false,
        patientCount: false,
        tags: false
      }
    };
  },
  methods: {
    exportDataFun() {
      const arr = [];
      for (const key in this.checkArr) {
        if (this.checkArr[key]) {
          arr.push(key);
        }
      }
      return arr;
    }
  }
};
</script>

<style scoped lang='scss'>
.exportPatient {
  .flexLeft {
    flex-wrap: wrap;
    justify-content:start;
    > div {
      width: 25%;
      text-align: center;
      padding: 18px 0;
    }
  }
}
</style>
